package com.mindai.esper.monitor.persistence.auto.mapper;

import com.mindai.common.dao.BaseDaoMybatis;
import com.mindai.esper.monitor.persistence.auto.model.EsperAlarmRecord;
import com.mindai.esper.monitor.persistence.auto.model.EsperAlarmRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface EsperAlarmRecordMapper extends BaseDaoMybatis {
    int countByExample(EsperAlarmRecordExample example);

    int deleteByExample(EsperAlarmRecordExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(EsperAlarmRecord record);

    int insertSelective(EsperAlarmRecord record);

    List<EsperAlarmRecord> selectByExampleWithRowbounds(EsperAlarmRecordExample example, RowBounds rowBounds);

    List<EsperAlarmRecord> selectByExample(EsperAlarmRecordExample example);

    EsperAlarmRecord selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") EsperAlarmRecord record, @Param("example") EsperAlarmRecordExample example);

    int updateByExample(@Param("record") EsperAlarmRecord record, @Param("example") EsperAlarmRecordExample example);

    int updateByPrimaryKeySelective(EsperAlarmRecord record);

    int updateByPrimaryKey(EsperAlarmRecord record);
}